import  math
import os
from functools import reduce

i =100
print("i="+str(i))
i=i>>2
print("i="+str(i))


n =5
f=lambda x,y:x+y

print(reduce(lambda x,y:x*y,range(1,n+1)))

def fn(n):
    result=1
    for i in range(1,n+1):
       result=result*i
    return result
print(fn(5))


def f1(x,y):
    return x+y
print(f1(2,3))


#f=reduce(lambda x,y:x*y,range(1,n+1))
#print(f(5))



a=6
if a<5:
    print("a <5")
else:
    print("a>5")

for i in range(1,10):
    for j in range(1,i+1):
        #d=i+j
        print("%d*%d=%2d" %(j,i,i*j),end=" ")
    print("")
    #print(i)
print("=======================")
for i in range(1,10):
    for j in range(1,i):
        #d=i+j
        print("%d*%d=%2d" %(i,j,i*j),end=" ")
    print("")


x={'name':'leichen','age':30}
for a in x.values():
    print(a)


